	<table class="table table-bordered table-striped">
		<thead>
		  <tr>
			<th>单号</th>

			<th>订单种类</th>
			<th>客户姓名</th>
			<th>客户手机</th>

			<th>起点</th>

			<th>订单类型</th>
			<th>下单时间</th>
			<th>操作</th>
		  </tr>
		</thead>
		<tbody>
		<#list page.list as order>
		  <tr>
		  <td><a href="/order/orderDetailView/${order.id}">${order.id}</a></td>
		  <td>
		    <#if order.order_category_type ??>
				<#list session.orderTypeMapList as orderType>
	    			<#if orderType.value == order.order_category_type>
	    			  ${orderType.name}
	    			</#if>
	    		</#list>
    	    </#if>
		  </td>
	  	 <#if order.member_id ??>
				<td>
				  ${order.real_name!""}
				</td>
				<td>
				  ${order.cell_phone!""}
				</td>

		  	<#else>
				<td>
				  ${order.real_name2!""}
				</td>
				<td>
				  ${order.cell_phone2!""}
				</td>
		  	</#if>
			<td>
			 ${order.startpoint!" "}
			</td>

			<td>
			  <#if order.from_source ??>
			    <#if order.from_source == "WECHAT">
		  	 	公众号
		  	 	<#elseif order.from_source == "APP">
		  	 	自建
		  	 	<#elseif order.from_source == "ADMIN">
		  	 	强制派单
		  	 	<#elseif order.from_source == "CLIENT">
		  	 	客户端
		  	 	<#elseif order.from_source == "GRAB">
		  	 	员工抢单
		  	 	</#if>
		  	   </#if>
			</td>
              <td>
                  <#if order.create_time??>
			    ${order.create_time?string("MM/dd HH:mm")}
			   </#if>
              </td>
			<td nowrap>
				 <#if session.userRole == 'admin' || session.userRole == 'brandManager' || session.userRole == 'middleManager' || session.userRole == 'customerCenter'>
				 	<a class="btn btn-success" href="/order/assignment/${order.id}"><i class="icon-leaf icon-white"></i> 派 单</a>
				 </#if>
				 <#if session.userRole == 'admin' || session.userRole == 'brandManager' || session.userRole == 'middleManager' || session.userRole == 'customerCenter'>
				 	<a class="btn btn-success" href="/order/addressupdate/${order.id}"><i class="icon-leaf icon-white"></i> 修改</a>
				 </#if>
				 <#if session.userRole == 'admin' || session.userRole == 'brandManager' || session.userRole == 'middleManager' || session.userRole == 'customerCenter'>
					 <a class="btn btn-success" href="/order/cancelNotAccept/${order.id}">取消</a>
				 </#if>
			</td>
		  </tr>
		</#list>
		</tbody>
	</table>
    <input type="hidden" value="${totalCount}" id="id_assignment_totalCount"/>
    <input type="hidden" value="${pageCount}" id="id_assignment_pageCount"/>